package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Theme;
import cn.wolfcode.luowowo.article.domain.Ticket;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TicketMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Ticket record);

    Ticket selectByPrimaryKey(Long id);

    List<Ticket> selectAll();

    int updateByPrimaryKey(Ticket record);

    Theme getTmen();

    List<Ticket> getId(@Param("did") Long ajaxDestId, @Param("sid") Long ajaxSubjectId);

    List<Ticket> getLists(Long ajaxDestId);
}